import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'

// export function getToken() {
//   return 'eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsInVzZXJJZCI6IjEiLCJuYW1lIjoiTXIuQUcxIiwic3lzY29tcGFueWNvZGUiOiIwMDEiLCJvcmdjb2RlIjoiMDAxIiwib3JnbGV2ZWwiOiIxIiwiZXhwIjoxNTkwMjg3OTMxfQ.IMiNI1bZk92l1be-6w_FF8IqL6az5OeWCNQ4d3VgfD_mXPz1iHWDFCsfZ7jArCEgTWa-IHRHCqRTnHOd5-_CS5iqMZH_kvJwddEdSHYTjCFk2nK5UWYo44Gzk1o5nbvJW8ev91LETJ1y0YM3GYSxu8bUgoG066eKktNcingRMU0'
// }

export function getToken() {
  return Cookies.get(TokenKey)
}
export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
